<% form_for @info,
     :html => {
       :id => :new_or_edit_info_form
     } do |f| %>
  <dl>
    <dt>类别：</dt>
    <dd>
      <%= f.select :info_type_id, InfoType.all.collect {|c| [ c.name, c.id ] } %>
    </dd>
  </dl>
  <dl>
    <dt>标题：</dt>
    <dd>
      <%= f.text_field :title %>
    </dd>
  </dl>
  <dl>
    <dt>内容：</dt>
    <dd>
      <%= f.cktext_area :content, :width => 830, :height => 400 %>
    </dd>
  </dl>
  <dl>
    <dt>邮件-标题：</dt>
    <dd>
      <%= f.text_field :email_title %>
    </dd>
  </dl>
  <dl>
    <dt>邮件-内容：</dt>
    <dd>
      <%= f.cktext_area :email_content, :width => 830, :height => 400 %>
    </dd>
  </dl>
  <dl>
    <dt>短信-内容：</dt>
    <dd>
      <%= f.text_field :sm_content %>
    </dd>
  </dl>
  <dl>
    <dt>麦粒：</dt>
    <dd>
      <%= f.text_field :money %>      
    </dd>
  </dl>
  <dl>
    <dt>麦粒-用途：</dt>
    <dd>
      <%= f.radio_button :money_purpose,'none', :class => 's no' %><%= f.label :money_purpose, '无' %>
      <%= f.radio_button :money_purpose, 'gift', :class => 's no' %><%= f.label :money_purpose, '赠送' %>
    </dd>
  </dl>
<% end %>  
